package com.hfdg.content.entity;

import com.hfdg.prototype.base.annotations.Column;
import com.hfdg.prototype.base.annotations.Table;
import com.hfdg.prototype.base.entity.BaseEntity;

import java.sql.JDBCType;
/**
 * @ClassName Content
 * @Description TODO
 * @Author yuelh
 * @Date 2019/1/9 22:55
 * @Version 1.0
 * @Company 会飞的锅工作室
 **/
@Table(name = "cms_content",title = "内容信息表",comment = "内容信息表，存储内容相关信息")
public class Content extends BaseEntity {
    @Column(title = "标题",type = JDBCType.VARCHAR,length = 1024,comment = "内容标题")
    String title;
    @Column(title = "封面图片",type = JDBCType.VARCHAR,length = 1024,comment = "封面图片URL地址")
    String coverUrl;
    @Column(title = "栏目类别",type = JDBCType.VARCHAR,length = 1024,comment = "栏目类别")
    String category;
    @Column(title = "栏目类别ID",type = JDBCType.VARCHAR,length = 128,comment = "栏目类别ID")
    String categoryId;
    @Column(title = "内容",type = JDBCType.LONGVARCHAR,length = 0,comment = "栏目类别")
    String content;
    @Column(title = "关键字",type = JDBCType.LONGVARCHAR,length = 0,comment = "关键字,多个关键字用空格分割")
    String keywords;
    @Column(title = "内容链接",type = JDBCType.VARCHAR,length = 1024,comment = "内容链接")
    String contentUrl;
    @Column(title = "浏览次数",type = JDBCType.INTEGER,length = 0,comment = "浏览次数")
    String viewCounts;
    @Column(title = "内容来源",type = JDBCType.VARCHAR,length = 1024,comment = "内容来源")
    String source;
    public String getTitle() {
        return title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public String getCoverUrl() {
        return coverUrl;
    }
    public void setCoverUrl(String coverUrl) {
        this.coverUrl = coverUrl;
    }
    public String getCategory() {
        return category;
    }
    public void setCategory(String category) {
        this.category = category;
    }
    public String getCategoryId() {
        return categoryId;
    }
    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }
    public String getContent() {
        return content;
    }
    public void setContent(String content) {
        this.content = content;
    }
    public String getKeywords() {
        return keywords;
    }
    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }
    public String getContentUrl() {
        return contentUrl;
    }
    public void setContentUrl(String contentUrl) {
        this.contentUrl = contentUrl;
    }
    public String getViewCounts() {
        return viewCounts;
    }
    public void setViewCounts(String viewCounts) {
        this.viewCounts = viewCounts;
    }
    public String getSource() {
        return source;
    }
    public void setSource(String source) {
        this.source = source;
    }
}
